package com.hnevc.mallserver3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.lang.Nullable;

@Data
@TableName("t_member")
@ApiModel(value = "Member", description = "用户成员信息")
public class Member {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "成员电话")
    @TableField("member_phone")
    private String memberPhone;
    @ApiModelProperty(value = "成员密码")
    private String password;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "用户邮箱")
    private String email;
    @Nullable
    @ApiModelProperty(value = "用户头像")
    private String icon;


    // 省略getter和setter方法，‌实际使用时请添加
}
